package can.bishe.modules.senic.dao;

import can.bishe.modules.senic.entity.SenicInfoEntity;

import java.util.List;

import com.baomidou.mybatisplus.mapper.BaseMapper;

import org.apache.ibatis.annotations.Param;

/**
 * 景点信息
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-03-27 20:23:41
 */
public interface SenicInfoDao extends BaseMapper<SenicInfoEntity> {
	
	List<SenicInfoEntity> getRecomList(@Param("nums") Integer nums);
	
	List<SenicInfoEntity> getAllInfoList(String senicName, String placeName);
	
	List<String> getAllPlaceInfoList();

	List<SenicInfoEntity> getSearchList(@Param("senicName") String senicName,@Param("senicPlace") String senicPlace);
	
	SenicInfoEntity getSenicInfo(@Param("senicId") Long senicId);
	
}
